package com.rajeshDyadav.threads;

public class HelloRunnable implements Runnable {

    public void run() {
	System.out.println("Hello from a thread!");
    }

    public static void main(String args[]) {
	//(new Thread(new HelloRunnable())).start();
	Thread t = new Thread(new HelloRunnable());
	t.start();
    }
}
